package cn.edu.jxyy.p3;

public class Bean1 {
    private String name;
    private String num;

    public Bean1(String name, String num) {
        this.name = name;
        this.num = num;
        System.out.println("这是Bean1");
    }

   public String getName() {
        return name;
   }
   public void setName(String name) {
        this.name = name;
   }
   public String getNum() {
        return num;
   }
   public void setNum(String num) {
        this.num = num;
   }
}

